package com.boot.service;

import com.boot.pojo.Headline;
import com.baomidou.mybatisplus.extension.service.IService;
import com.boot.utils.Result;
import com.boot.views.PortalVo;

/**
* @author liyang
* @description 针对表【news_headline】的数据库操作Service
* @createDate 2025-04-14 13:27:54
*/
public interface HeadlineService extends IService<Headline> {

    Result findNewsPage(PortalVo portalVo);

    Result showHeadlineDetail(Integer id);

    Result publish(Headline headline, String token);

    Result findHeadlineByHid(Integer hid);

    Result updateByUser(Headline headline, String token);
}
